dense_to_msr Function

public function dense_to_msr(a, err) result(rst)

Converts a dense matrix to an MSR matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: a

The dense matrix to convert.

class(errors), intent(inout), optional, target :: err

The error object to be updated.

Return Value type(msr_matrix)

The MSR matrix.